package com.ruoyi.wzgl.grlyckcx.service.impl;

import com.ruoyi.common.annotation.DataScope;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.wzgl.grlyckcx.domain.Grlyckcx;
import com.ruoyi.wzgl.grlyckcx.mapper.GrlyckcxMapper;
import com.ruoyi.wzgl.grlyckcx.service.IGrlyckcxService;
import com.ruoyi.wzgl.wzck.domain.Wzck;
import com.ruoyi.wzgl.wzck.domain.WzckCkmx;
import com.ruoyi.wzgl.wzck.mapper.WzckMapper;
import com.ruoyi.wzgl.wzck.service.IWzckService;
import org.apache.ibatis.session.ExecutorType;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * 物资出库Service业务层处理
 *
 * @author huacai
 * @date 2024-09-25
 */
@Service
public class GrlyckcxServiceImpl implements IGrlyckcxService {
    @Resource
    private GrlyckcxMapper grlyckcxMapper;

    @Resource
    private SqlSessionFactory sqlSessionFactory;

    /**
     * 查询个人领用出库列表
     * @param grlyckcx
     * @return
     */
    @Override
    public List<Grlyckcx> selectGrLyCkList(Grlyckcx grlyckcx) {
        return grlyckcxMapper.selectGrLyCkList(grlyckcx);
    }
}
